1. XMPP protocol and OpenFireThe XMPP protocol is a standard protocol in the IM domain, with reference to http://xmpp.org and rfc6120,rfc6121,rfc6122 and other related documents. http://xmpp.org/xmpp-protocols/XMPP protocol implementation, there are many open source, server-side reference http://xmpp.org/
data management and maintenance, but also prevents data loss. When a Map container is created for storage, the program closes the data and disappears.
I write a C/S login application to the XMPP protocol:
Because it is just a practice, the code is relatively simple, and the database stores only five pieces of information, user information:
Id, name, password, tellphone, email
Create a table:
I use powerDesigner of ve
Label: XMPP Protocol: Communication protocol is an agreed rule, and XMPP is not an interface rule. Simply put, the XMPP protocol is a text string in a tagged format. Example: After learning the XMPP protocol, the login registration operation of C/S is implemented, and this time the login operation does not store t
: The XMPP protocol is encoded as a single long XML file and therefore cannot be provided to modify binary data. Therefore, the file Transfer Protocol uses external HTTP as well. If unavoidable, the XMPP protocol also provides Base64 for all data that is encoded with the file transfer. For other binary data encryption sessions (encrypted conversations) or graphical icons (graphic icons) Use the same method
protocol is encoded as a single long XML file and therefore cannot be provided to modify binary data. Therefore, the file Transfer Protocol uses external HTTP as well. If unavoidable, the XMPP protocol also provides Base64 for all data that is encoded with the file transfer. For other binary data encryption sessions (encrypted conversations) or graphical icons (graphic icons) Use the same method as embedded.5. XM
implementation of the transformation. The server that implements this particular feature is called the Gateway in the XMPP architecture. Currently, XMPP implements protocol conversions with AIM, ICQ, IRC, MSN massager, RSS0.9, and Yahoo Massager. Because of the presence of gateways, the XMPP architecture is virtually compatible with all other instant communicati
OpenFireOpenFire is developed in Java, and the open source real-time collaboration (RTC) server is based on the XMPP (Jabber) protocol. You can use it to easily build an efficient Instant Messaging server.OpenFire is easy to install and use, and is managed with the Web. A single server can support tens of thousands of concurrent users.Because of the open XMPP pr
OpenFireOpenFire is developed in Java, and the open source real-time collaboration (RTC) server is based on the XMPP (Jabber) protocol. You can use it to easily build an efficient Instant Messaging server.OpenFire is easy to install and use, and is managed with the Web. A single server can support tens of thousands of concurrent users.Because of the open XMPP pr
XMPP (extensible Messaging and Presence Protocol, formerly known as Jabber) protocol introductionExtensible Message Processing Site Protocol (extensible Messaging and Presence Protocol, XMPP) is a near-end streaming instant-messaging protocol based on Extensible Markup Language (extensible Markup Language, XML). It embeds field and context sensitive information tags into XML structured data, enabling instan
XMPP and xmpp protocolsXMPP-instant messaging technology Overview
(IM -- Instant Messaging) supports real-time online conversations. If you want to send a message, you need to open a small window so that users and their friends can enter the information and both parties can see that there are many IM systems in the conversation content, for example, AOL, Yahoo IM, MSN, and QQ, the biggest difference lies in
Xmpp sorting notes: Quick environment configuration (with installation package included) and xmpp installation package
Although the xmpp framework of huanxin is very popular, it also has some drawbacks. Some of the code of the huanxin framework is not open-source, and the charging mode is not scientific. The number of users is always lower than that of the Free L
XMPP protocol and practice, XMPP protocol practice
I. XMPP protocol
XMPP(Extensible Messaging and Presence Protocol scalable Message Processing site Protocol) isProtocols Based on Extensible Markup Language (XML)It is used for instant messaging (IM) and online on-site detection. The predecessor of
Then the previous article continued to study and summarize.XMPP ClientOne design standard for XMPP systems is the need to support simple clients. In fact, the XMPP system architecture has only a few limitations on clients. The features that an XMPP client must support are:
Communicates with the XMPP server via
Build an XMPP environment and build an xmpp EnvironmentXMPP Environment Construction
1> several auxiliary tools are required to build an XMPP environment:
Java
Openfire is developed in Java, so we need to install the Java
Ios xmpp-based development-XMPPFramewok framework (1): Basic knowledge, xmpp-xmppframewok
Recently, the open source tt of the mogujie.com team made me interested in im. Then I found XMPPFramework on the Internet for study,
I have written the following series of tutorials for your reference. Please forgive me for your correction.
Directory Index
IOS development based on
One: Set up an instant Chat server recommend two, build method everyone Baidu a bit, there are a lot of detailed tutorialsOpenFire in the Java language, relatively easy to use, address: http://www.igniterealtime.org/projects/openfire/Ejabberd is a well-known Erlang open Source project, written in Erlang, address: http://www.ejabberd.im/Two: Start the login operation1. Create a new Xmppstream object and add a delegateAdd Delegate Method-(void) AddDeleg
[IOS XMPP] logon to iOS XMPP
1. We recommend setting up an instant chat server. You can use Baidu to set up the server. There are many detailed tutorials.
Openfire is easy to use and written in Java,
Ejabberd is a well-known open-source Erlang project written in Erlang,
2. start logging on
1. Create an XMPPStream object and add a delegate
Add delegate method-(vo
Xmpp is connected to the server and authenticated successfully. xmpp is used for authentication.
* XMPP features that all requests are implemented through proxy** Because xmpp communicates data through the network server, all requests are submitted to the server for processing.** After the server is processed, it stops
XMPP protocol for instant messaging underlying writing (zero)-nonsense and preparation before the beginning, xmpp instant messaging
I want to write a summary for a long time, but I have been busy and have no time to calm down and do such a thing.
I once told my eldest brother Qin that I didn't have the open source spirit, but because there were too many things and I didn't have time to write a blog. I didn'
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.